package config

import (
	"github.com/zeromicro/go-zero/rest"
	"github.com/zeromicro/go-zero/zrpc"
	"time"
)

type Config struct {
	rest.RestConf
	UserRpc  zrpc.RpcClientConf
	GoodRpc  zrpc.RpcClientConf
	OrderRpc zrpc.RpcClientConf
	Auth     struct {
		AccessSecret string
		AccessExpire time.Duration
	}
	MicroService struct {
		Driver       string
		Target       string
		GRPCEndPoint string
		HTTPEndPoint string
	}
}
